package a.a.a.b; class g { void a() { int a;
a=0;// .class public La/a/a/b/g;
a=0;// .super Ljava/lang/Object;
a=0;// .source "NCXDocument.java"
a=0;// 
a=0;// 
a=0;// # static fields
a=0;// .field private static final a:Lorg/slf4j/Logger;
a=0;// 
a=0;// 
a=0;// # direct methods
a=0;// .method static constructor <clinit>()V
a=0;//     .locals 1
a=0;// 
a=0;//     .prologue
a=0;//     .line 47
a=0;//     const-class v0, La/a/a/b/g;
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/Class;);
a=0;//     invoke-static {v0}, Lorg/slf4j/LoggerFactory;->a(Ljava/lang/Class;)Lorg/slf4j/Logger;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     sput-object v0, La/a/a/b/g;->a:Lorg/slf4j/Logger;
a=0;// 
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method public constructor <init>()V
a=0;//     .locals 0
a=0;// 
a=0;//     .prologue
a=0;//     .line 39
a=0;//     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
a=0;// 
a=0;//     #p0=(Reference,La/a/a/b/g;);
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// .method public static a(La/a/a/a/b;)La/a/a/a/k;
a=0;//     .locals 4
a=0;// 
a=0;//     .prologue
a=0;//     const/4 v0, 0x0
a=0;// 
a=0;//     .line 80
a=0;//     .line 81
a=0;//     #v0=(Null);
a=0;//     invoke-virtual {p0}, La/a/a/a/b;->b()La/a/a/a/o;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     #v1=(Reference,La/a/a/a/o;);
a=0;//     invoke-virtual {v1}, La/a/a/a/o;->d()La/a/a/a/k;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     if-nez v1, :cond_1
a=0;// 
a=0;//     .line 82
a=0;//     sget-object v1, La/a/a/b/g;->a:Lorg/slf4j/Logger;
a=0;// 
a=0;//     const-string v2, "Book does not contain a table of contents file"
a=0;// 
a=0;//     #v2=(Reference,Ljava/lang/String;);
a=0;//     invoke-interface {v1, v2}, Lorg/slf4j/Logger;->b(Ljava/lang/String;)V
a=0;// 
a=0;//     .line 97
a=0;//     :cond_0
a=0;//     :goto_0
a=0;//     #v0=(Reference,La/a/a/a/k;);v2=(Conflicted);v3=(Conflicted);
a=0;//     return-object v0
a=0;// 
a=0;//     .line 86
a=0;//     :cond_1
a=0;//     :try_start_0
a=0;//     #v0=(Null);v2=(Uninit);v3=(Uninit);
a=0;//     invoke-virtual {p0}, La/a/a/a/b;->b()La/a/a/a/o;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     invoke-virtual {v1}, La/a/a/a/o;->d()La/a/a/a/k;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     .line 87
a=0;//     #v0=(Reference,La/a/a/a/k;);
a=0;//     if-eqz v0, :cond_0
a=0;// 
a=0;//     .line 90
a=0;//     invoke-static {v0}, La/a/a/d/b;->a(La/a/a/a/k;)Lorg/w3c/dom/Document;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     .line 91
a=0;//     invoke-interface {v1}, Lorg/w3c/dom/Document;->getDocumentElement()Lorg/w3c/dom/Element;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     const-string v2, "http://www.daisy.org/z3986/2005/ncx/"
a=0;// 
a=0;//     #v2=(Reference,Ljava/lang/String;);
a=0;//     const-string v3, "navMap"
a=0;// 
a=0;//     #v3=(Reference,Ljava/lang/String;);
a=0;//     invoke-static {v1, v2, v3}, La/a/a/b/c;->c(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     .line 92
a=0;//     new-instance v2, La/a/a/a/s;
a=0;// 
a=0;//     #v2=(UninitRef,La/a/a/a/s;);
a=0;//     invoke-interface {v1}, Lorg/w3c/dom/Element;->getChildNodes()Lorg/w3c/dom/NodeList;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     invoke-static {v1, p0}, La/a/a/b/g;->a(Lorg/w3c/dom/NodeList;La/a/a/a/b;)Ljava/util/List;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     invoke-direct {v2, v1}, La/a/a/a/s;-><init>(Ljava/util/List;)V
a=0;// 
a=0;//     .line 93
a=0;//     #v2=(Reference,La/a/a/a/s;);
a=0;//     invoke-virtual {p0, v2}, La/a/a/a/b;->a(La/a/a/a/s;)V
a=0;//     :try_end_0
a=0;//     .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
a=0;// 
a=0;//     goto :goto_0
a=0;// 
a=0;//     .line 94
a=0;//     :catch_0
a=0;//     #v2=(Conflicted);v3=(Conflicted);
a=0;//     move-exception v1
a=0;// 
a=0;//     .line 95
a=0;//     sget-object v2, La/a/a/b/g;->a:Lorg/slf4j/Logger;
a=0;// 
a=0;//     #v2=(Reference,Lorg/slf4j/Logger;);
a=0;//     invoke-virtual {v1}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v3
a=0;// 
a=0;//     #v3=(Reference,Ljava/lang/String;);
a=0;//     invoke-interface {v2, v3, v1}, Lorg/slf4j/Logger;->a(Ljava/lang/String;Ljava/lang/Throwable;)V
a=0;// 
a=0;//     goto :goto_0
a=0;// .end method
a=0;// 
a=0;// .method private static a(Lorg/w3c/dom/Element;)Ljava/lang/String;
a=0;//     .locals 3
a=0;// 
a=0;//     .prologue
a=0;//     .line 141
a=0;//     const-string v0, "http://www.daisy.org/z3986/2005/ncx/"
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/String;);
a=0;//     const-string v1, "content"
a=0;// 
a=0;//     #v1=(Reference,Ljava/lang/String;);
a=0;//     invoke-static {p0, v0, v1}, La/a/a/b/c;->c(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     .line 142
a=0;//     const-string v1, "http://www.daisy.org/z3986/2005/ncx/"
a=0;// 
a=0;//     const-string v2, "src"
a=0;// 
a=0;//     #v2=(Reference,Ljava/lang/String;);
a=0;//     invoke-static {v0, v1, v2}, La/a/a/b/c;->a(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     .line 144
a=0;//     :try_start_0
a=0;//     const-string v1, "UTF-8"
a=0;// 
a=0;//     invoke-static {v0, v1}, Ljava/net/URLDecoder;->decode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
a=0;//     :try_end_0
a=0;//     .catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_0
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     .line 148
a=0;//     :goto_0
a=0;//     return-object v0
a=0;// 
a=0;//     .line 145
a=0;//     :catch_0
a=0;//     move-exception v1
a=0;// 
a=0;//     .line 146
a=0;//     sget-object v2, La/a/a/b/g;->a:Lorg/slf4j/Logger;
a=0;// 
a=0;//     invoke-virtual {v1}, Ljava/io/UnsupportedEncodingException;->getMessage()Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v1
a=0;// 
a=0;//     invoke-interface {v2, v1}, Lorg/slf4j/Logger;->b(Ljava/lang/String;)V
a=0;// 
a=0;//     goto :goto_0
a=0;// .end method
a=0;// 
a=0;// .method private static a(Lorg/w3c/dom/NodeList;La/a/a/a/b;)Ljava/util/List;
a=0;//     .locals 10
a=0;// 
a=0;//     .prologue
a=0;//     .line 101
a=0;//     if-nez p0, :cond_0
a=0;// 
a=0;//     .line 102
a=0;//     new-instance v0, Ljava/util/ArrayList;
a=0;// 
a=0;//     #v0=(UninitRef,Ljava/util/ArrayList;);
a=0;//     invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
a=0;// 
a=0;//     .line 116
a=0;//     :goto_0
a=0;//     #v0=(Reference,Ljava/util/ArrayList;);v1=(Conflicted);v2=(Conflicted);v3=(Conflicted);v4=(Conflicted);v5=(Conflicted);v6=(Conflicted);v7=(Conflicted);v8=(Conflicted);v9=(Conflicted);
a=0;//     return-object v0
a=0;// 
a=0;//     .line 104
a=0;//     :cond_0
a=0;//     #v0=(Uninit);v1=(Uninit);v2=(Uninit);v3=(Uninit);v4=(Uninit);v5=(Uninit);v6=(Uninit);v7=(Uninit);v8=(Uninit);v9=(Uninit);
a=0;//     new-instance v3, Ljava/util/ArrayList;
a=0;// 
a=0;//     #v3=(UninitRef,Ljava/util/ArrayList;);
a=0;//     invoke-interface {p0}, Lorg/w3c/dom/NodeList;->getLength()I
a=0;// 
a=0;//     move-result v0
a=0;// 
a=0;//     #v0=(Integer);
a=0;//     invoke-direct {v3, v0}, Ljava/util/ArrayList;-><init>(I)V
a=0;// 
a=0;//     .line 105
a=0;//     #v3=(Reference,Ljava/util/ArrayList;);
a=0;//     const/4 v0, 0x0
a=0;// 
a=0;//     #v0=(Null);
a=0;//     move v1, v0
a=0;// 
a=0;//     :goto_1
a=0;//     #v0=(Integer);v1=(Integer);v2=(Conflicted);v4=(Conflicted);v5=(Conflicted);v6=(Conflicted);v7=(Conflicted);v8=(Conflicted);v9=(Conflicted);
a=0;//     invoke-interface {p0}, Lorg/w3c/dom/NodeList;->getLength()I
a=0;// 
a=0;//     move-result v0
a=0;// 
a=0;//     if-lt v1, v0, :cond_1
a=0;// 
a=0;//     move-object v0, v3
a=0;// 
a=0;//     .line 116
a=0;//     #v0=(Reference,Ljava/util/ArrayList;);
a=0;//     goto :goto_0
a=0;// 
a=0;//     .line 106
a=0;//     :cond_1
a=0;//     #v0=(Integer);
a=0;//     invoke-interface {p0, v1}, Lorg/w3c/dom/NodeList;->item(I)Lorg/w3c/dom/Node;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     .line 107
a=0;//     #v0=(Reference,Lorg/w3c/dom/Node;);
a=0;//     invoke-interface {v0}, Lorg/w3c/dom/Node;->getNodeType()S
a=0;// 
a=0;//     move-result v2
a=0;// 
a=0;//     #v2=(Short);
a=0;//     const/4 v4, 0x1
a=0;// 
a=0;//     #v4=(One);
a=0;//     if-ne v2, v4, :cond_3
a=0;// 
a=0;//     .line 108
a=0;//     invoke-interface {v0}, Lorg/w3c/dom/Node;->getLocalName()Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     #v2=(Reference,Ljava/lang/String;);
a=0;//     const-string v4, "navPoint"
a=0;// 
a=0;//     #v4=(Reference,Ljava/lang/String;);
a=0;//     invoke-virtual {v2, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
a=0;// 
a=0;//     move-result v2
a=0;// 
a=0;//     #v2=(Boolean);
a=0;//     if-eqz v2, :cond_3
a=0;// 
a=0;//     .line 111
a=0;//     check-cast v0, Lorg/w3c/dom/Element;
a=0;// 
a=0;//     const-string v2, "http://www.daisy.org/z3986/2005/ncx/"
a=0;// 
a=0;//     #v2=(Reference,Ljava/lang/String;);
a=0;//     const-string v4, "navLabel"
a=0;// 
a=0;//     invoke-static {v0, v2, v4}, La/a/a/b/c;->c(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     const-string v4, "http://www.daisy.org/z3986/2005/ncx/"
a=0;// 
a=0;//     const-string v5, "text"
a=0;// 
a=0;//     #v5=(Reference,Ljava/lang/String;);
a=0;//     invoke-static {v2, v4, v5}, La/a/a/b/c;->c(Lorg/w3c/dom/Element;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     invoke-static {v2}, La/a/a/b/c;->a(Lorg/w3c/dom/Element;)Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v4
a=0;// 
a=0;//     invoke-virtual {p1}, La/a/a/a/b;->b()La/a/a/a/o;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     invoke-virtual {v2}, La/a/a/a/o;->d()La/a/a/a/k;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     invoke-virtual {v2}, La/a/a/a/k;->d()Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     const/16 v5, 0x2f
a=0;// 
a=0;//     #v5=(PosByte);
a=0;//     invoke-static {v2, v5}, La/a/a/d/c;->a(Ljava/lang/String;C)Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     invoke-virtual {v2}, Ljava/lang/String;->length()I
a=0;// 
a=0;//     move-result v5
a=0;// 
a=0;//     #v5=(Integer);
a=0;//     invoke-virtual {p1}, La/a/a/a/b;->b()La/a/a/a/o;
a=0;// 
a=0;//     move-result-object v6
a=0;// 
a=0;//     #v6=(Reference,La/a/a/a/o;);
a=0;//     invoke-virtual {v6}, La/a/a/a/o;->d()La/a/a/a/k;
a=0;// 
a=0;//     move-result-object v6
a=0;// 
a=0;//     invoke-virtual {v6}, La/a/a/a/k;->d()Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v6
a=0;// 
a=0;//     invoke-virtual {v6}, Ljava/lang/String;->length()I
a=0;// 
a=0;//     move-result v6
a=0;// 
a=0;//     #v6=(Integer);
a=0;//     if-ne v5, v6, :cond_4
a=0;// 
a=0;//     const-string v2, ""
a=0;// 
a=0;//     :goto_2
a=0;//     #v5=(Conflicted);
a=0;//     new-instance v5, Ljava/lang/StringBuilder;
a=0;// 
a=0;//     #v5=(UninitRef,Ljava/lang/StringBuilder;);
a=0;//     invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     invoke-direct {v5, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
a=0;// 
a=0;//     #v5=(Reference,Ljava/lang/StringBuilder;);
a=0;//     invoke-static {v0}, La/a/a/b/g;->a(Lorg/w3c/dom/Element;)Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     invoke-static {v2}, La/a/a/d/c;->e(Ljava/lang/String;)Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v5
a=0;// 
a=0;//     invoke-static {v2}, La/a/a/d/c;->f(Ljava/lang/String;)Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     invoke-virtual {p1}, La/a/a/a/b;->a()La/a/a/a/n;
a=0;// 
a=0;//     move-result-object v6
a=0;// 
a=0;//     #v6=(Reference,La/a/a/a/n;);
a=0;//     invoke-virtual {v6, v5}, La/a/a/a/n;->e(Ljava/lang/String;)La/a/a/a/k;
a=0;// 
a=0;//     move-result-object v6
a=0;// 
a=0;//     if-nez v6, :cond_2
a=0;// 
a=0;//     sget-object v7, La/a/a/b/g;->a:Lorg/slf4j/Logger;
a=0;// 
a=0;//     #v7=(Reference,Lorg/slf4j/Logger;);
a=0;//     new-instance v8, Ljava/lang/StringBuilder;
a=0;// 
a=0;//     #v8=(UninitRef,Ljava/lang/StringBuilder;);
a=0;//     const-string v9, "Resource with href "
a=0;// 
a=0;//     #v9=(Reference,Ljava/lang/String;);
a=0;//     invoke-direct {v8, v9}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
a=0;// 
a=0;//     #v8=(Reference,Ljava/lang/StringBuilder;);
a=0;//     invoke-virtual {v8, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
a=0;// 
a=0;//     move-result-object v5
a=0;// 
a=0;//     const-string v8, " in NCX document not found"
a=0;// 
a=0;//     invoke-virtual {v5, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
a=0;// 
a=0;//     move-result-object v5
a=0;// 
a=0;//     invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v5
a=0;// 
a=0;//     invoke-interface {v7, v5}, Lorg/slf4j/Logger;->b(Ljava/lang/String;)V
a=0;// 
a=0;//     :cond_2
a=0;//     #v7=(Conflicted);v8=(Conflicted);v9=(Conflicted);
a=0;//     new-instance v5, La/a/a/a/q;
a=0;// 
a=0;//     #v5=(UninitRef,La/a/a/a/q;);
a=0;//     invoke-direct {v5, v4, v6, v2}, La/a/a/a/q;-><init>(Ljava/lang/String;La/a/a/a/k;Ljava/lang/String;)V
a=0;// 
a=0;//     #v5=(Reference,La/a/a/a/q;);
a=0;//     invoke-interface {v0}, Lorg/w3c/dom/Element;->getChildNodes()Lorg/w3c/dom/NodeList;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     invoke-static {v2, p1}, La/a/a/b/g;->a(Lorg/w3c/dom/NodeList;La/a/a/a/b;)Ljava/util/List;
a=0;// 
a=0;//     invoke-interface {v0}, Lorg/w3c/dom/Element;->getChildNodes()Lorg/w3c/dom/NodeList;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     invoke-static {v0, p1}, La/a/a/b/g;->a(Lorg/w3c/dom/NodeList;La/a/a/a/b;)Ljava/util/List;
a=0;// 
a=0;//     move-result-object v0
a=0;// 
a=0;//     invoke-virtual {v5, v0}, La/a/a/a/q;->a(Ljava/util/List;)V
a=0;// 
a=0;//     .line 114
a=0;//     invoke-interface {v3, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z
a=0;// 
a=0;//     .line 105
a=0;//     :cond_3
a=0;//     #v2=(Conflicted);v4=(Conflicted);v5=(Conflicted);v6=(Conflicted);
a=0;//     add-int/lit8 v0, v1, 0x1
a=0;// 
a=0;//     #v0=(Integer);
a=0;//     move v1, v0
a=0;// 
a=0;//     goto/16 :goto_1
a=0;// 
a=0;//     .line 111
a=0;//     :cond_4
a=0;//     #v0=(Reference,Lorg/w3c/dom/Element;);v2=(Reference,Ljava/lang/String;);v4=(Reference,Ljava/lang/String;);v5=(Integer);v6=(Integer);
a=0;//     new-instance v5, Ljava/lang/StringBuilder;
a=0;// 
a=0;//     #v5=(UninitRef,Ljava/lang/StringBuilder;);
a=0;//     invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     invoke-direct {v5, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
a=0;// 
a=0;//     #v5=(Reference,Ljava/lang/StringBuilder;);
a=0;//     const-string v2, "/"
a=0;// 
a=0;//     invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
a=0;// 
a=0;//     move-result-object v2
a=0;// 
a=0;//     goto :goto_2
a=0;// .end method
}}
